/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package local;

import jMail.Mail;
import javax.ejb.Stateless;

/**
 *
 * @author Emanuel
 */
@Stateless
public class SessionTesteBean implements SessionTesteLocal {

    public void sendEmail(String from, String to, String subject, String message) {
        Mail mail = new Mail();
        mail.sendMail(from, to, subject, message);
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method" or "Web Service > Add Operation")
 
}
